package kr.hkit.powerjava.chapter5.work;

import java.util.Scanner;

public class exercise8c {
	public static void main(String[] args) {
		double hakjom;
		int torfl;
		int toeic;
		
		Scanner input = new Scanner(System.in);
		
		System.out.println("평균학점을 입력하시오.");
		hakjom = input.nextDouble();
		System.out.println("토플 점수를 입력하시오.");
		torfl = input.nextInt();
		System.out.println("토익점수를 입력하시오.");
		toeic = input.nextInt();
		
		System.out.println(((hakjom >= 3.0) && (torfl >=300)) || 
				((hakjom >= 3.0) && (toeic >=700)));
		
	
	}

}
